<?php
declare (strict_types = 1);

namespace app\adminapi\model\setting;

use adminmatrix\server\app\model\BaseModel;
use think\model\relation\HasMany;

/**
 * @mixin \think\Model
 */
class AdminSetting extends BaseModel
{
    //

    #-------------------------------------------------------------------
    # 关联表
    #-------------------------------------------------------------------

    public function setting() : HasMany{
        return $this->hasMany(AdminSettingConfig::class , 'setting_id');
    }
}
